package demo3;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * Date: 2023-05-14
 * Time: 1:14
 */
public class KeyBoard implements IUSB{

    @Override
    public void openDevice() {
        System.out.println("打开键盘！");
    }

    @Override
    public void closeDevice() {
        System.out.println("关闭键盘！");
    }
    public void inPut(){
        System.out.println("敲击键盘！");
    }
}
